package com.example.demo.common.response;

/**
 * 响应码
 */
public enum ResponseCodeEnum {

    /**
     * 请求成功
     */
    OK(200),
    REQUEST_ERROR(401),
    GATE_WAY(503),
    NOT_FOUND(404),
    ERROR(500);

    public final int code;

    ResponseCodeEnum(int code) {
        this.code = code;
    }
}
